Skip to content

Instantly share code, notes, and snippets.

@joyrexus
joyrexus / README.md
Last active May 11, 2024 09:34
Perl one-liners

Hi:

perl -e 'print "hello world!\n"'

A simple filter:

perl -ne 'print if /REGEX/'

Filter out blank lines (in place):

@serithemage
serithemage / aws-study-resource.md
Last active May 11, 2024 09:31
AWS 학습 자료집

AWS 학습 링크집 시리즈

@octocat
octocat / .gitignore
Created February 27, 2014 19:38
Some common .gitignore configurations
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages #
@joelonsql
joelonsql / PostgreSQL-EXTENSIONs.md
Last active May 11, 2024 09:30
1000+ PostgreSQL EXTENSIONs

🗺🐘 1000+ PostgreSQL EXTENSIONs

This is a list of URLs to PostgreSQL EXTENSION repos, listed in alphabetical order of parent repo, with active forks listed under each parent.

⭐️ >= 10 stars
⭐️⭐️ >= 100 stars
⭐️⭐️⭐️ >= 1000 stars
Numbers of stars might not be up-to-date.

@dkorobtsov
dkorobtsov / Add_WindowsDefender_Exclusions.ps1
Last active May 11, 2024 09:29
PowerShell script to add Windows Defender exclusions for WSL2 and JetBrains IDE performance issues
# PowerShell script to add Windows Defender exclusions for WSL2 and JetBrains IDE performance issues
#
# For context please read this thread:
# https://github.com/microsoft/WSL/issues/8995
#
# How to use?
# - Save the Script: Open a text editor like Notepad and paste the PowerShell script into it.
# - Save the file with a .ps1 extension, for example, Add_WindowsDefender_Exclusions.ps1.
# - Run PowerShell as Administrator: Search for "PowerShell" in the Start menu, right-click on it, and choose "Run as administrator".
# - Navigate to the Script's Location: Use the cd command to navigate to the directory where you saved the .ps1 file.
@jingzhiMo
jingzhiMo / init-git-cz.sh
Created November 7, 2020 09:26
git cz 全局初始化设置
npm install -g commitizen
npm install -g cz-conventional-changelog
echo '{ "path": "cz-conventional-changelog" }' > ~/.czrc
@mbinna
mbinna / effective_modern_cmake.md
Last active May 11, 2024 09:23
Effective Modern CMake

Effective Modern CMake

Getting Started

For a brief user-level introduction to CMake, watch C++ Weekly, Episode 78, Intro to CMake by Jason Turner. LLVM’s CMake Primer provides a good high-level introduction to the CMake syntax. Go read it now.

After that, watch Mathieu Ropert’s CppCon 2017 talk Using Modern CMake Patterns to Enforce a Good Modular Design (slides). It provides a thorough explanation of what modern CMake is and why it is so much better than “old school” CMake. The modular design ideas in this talk are based on the book [Large-Scale C++ Software Design](https://www.amazon.de/Large-Scale-Soft

@JeffM2501
JeffM2501 / gist:00cf5653f41337d8c9e8db40deb25656
Created March 7, 2021 17:40
Raylib resize fullscreen example
/*******************************************************************************************
*
* raylib [core] example - fullscreen toggle
*
* Welcome to raylib!
*
* To test examples, just press F6 and execute raylib_compile_execute script
* Note that compiled executable is placed in the same folder as .c file
*
* You can find all basic examples on C:\raylib\raylib\examples folder or
@TrentSPalmer
TrentSPalmer / 2017-06-18-064710_722x410_scrot.png
Last active May 11, 2024 09:14
fish powerline on ubuntu the easy way
2017-06-18-064710_722x410_scrot.png
@bamtan
bamtan / Patch dylib to IPA.md
Created September 28, 2020 05:43
How to combine a dylib and an IPA file so you can use a modified IPA on jailed iOS